Use this GeometryReaderCentered if you want the old behavior back:
struct GeometryReaderCentered<Content: View>: View {
var content: (GeometryProxy) -> Content
var body: some View {
GeometryReader { geometry in
Group {
content(geometry)
}
.frame(
width: geometry.size.width,
height: geometry.size.height,
alignment: .center
)
}
}
}